package org.smog.domain.enums.user;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.smog.core.domain.emuns.IEnumValue;

/**
 * 用户状态枚举
 *
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-18 16:22
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
@Getter
@AllArgsConstructor
public enum StateEnum implements IEnumValue {

    UNKNOWN(0, "未知"),

    NORMAL(1, "正常"),

    LOCK(2, "锁定"),

    DISABLE(3, "禁用");

    /**
     * 唯一下标
     */
    @EnumValue
    private int value;

    /**
     * 描述
     */
    private String desc;
}
